package com.sikaryofficial.backend.domain.dto.req.prize;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author : qinjinyuan
 * @desc : 抽奖请求对象
 * @date : 2024/07/23 13:36
 */
@Getter
@Setter
public class LotteryReq {
    /**
     * 活动ID
     */
    @ApiModelProperty(value = "活动ID")
    @NotNull(message = "Activity id is empty")
    private Long activityId;
    /**
     * 扫码url参数（HexStr(产品ID)+ seqno + 4位随机编码）
     */
    @ApiModelProperty(value = "扫码url p参数")
    private String param;
}
